package model.interactionHandlerInitializer;

import model.entity.NPC;
import model.interactionhandler.InitiateFightHandler;
import model.interactionhandler.InteractionContainer;
import model.interactionhandler.PickPocketHandler;

/**
 *
 * Is used to initialize the InitiateFightHandler
 *
 */
public class InitiateFightHandlerInitializer extends InteractionHandlerInitializer{
	public InitiateFightHandlerInitializer(String theName) {
		super(theName);
	}

	public void handle(){
		InitiateFightHandler ifh = new InitiateFightHandler("InitiateFightHandler");
		NPC npc = ((NPC)InteractionContainer.getInstance().getTarget());
		ifh.initiateFight(npc);
	}
}
